package com.dong.javalangchain4jai.service;

import dev.langchain4j.service.TokenStream;
import reactor.core.publisher.Flux;

/**
 * AI 助手接口
 *
 * @author xiedongxiao
 */

public interface ChatAssistant {

    String chat(String userMessage);

    TokenStream chatStream(String message);

    Flux<String> chatFlux(String message);

}
